﻿using FluentNHibernate.Mapping;

namespace Genesis.Persistence.Mapping
{

    using Genesis.Domain;

    public class MembershipMap : ClassMap<Membership>
    {

        public MembershipMap()
        {

            Id(x => x.Id);
            Map(x => x.IsPrimary);
            Map(x => x.IsPreferred);
            References<User>(x => x.User);

        }

    }

}